package com.mit.service.maintenance.dao;

import java.util.HashMap;
import java.util.List;

import com.mit.common.exception.NoRecordUpdateException;
import com.mit.common.maintenance.dto.EmployeeDTO;
import com.mit.common.security.dto.UserDTO;

public interface IEmployeeDAO {

	EmployeeDTO createEmployee(EmployeeDTO employeeDTO);
	EmployeeDTO updateEmployee(EmployeeDTO employeeDTO) throws NoRecordUpdateException;
	void deleteEmployeeById(int empId);
	boolean isEmployeeExisted(EmployeeDTO employeeDTO);

	public EmployeeDTO retrieveEmployeeById(int empId);
	List<EmployeeDTO> retrieveEmployees(HashMap params);
	Integer retrieveEmployeeCount(UserDTO user);
}
